<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>条件判断</title>
  <link rel="stylesheet" href="">
  <script type="text/javascript" src="../../js/vue.js"></script>
</head>

<body>
  <div id="app2">
    <div v-if="seen">可以看到我吗？</div>
  </div>
  <script type="text/javascript">
  var app2 = new Vue({
    el:'#app2',
    data:{
      seen:true
    }

  });

  </script>
</body>

</html>
